/**
 *
 */
package org.jprobe.codegen;

/**
 * specification of bean getter value
 * @author Hussain Al-Mutawa
 * @version 1.0
 * @since 1.0
 */
public interface BeanGetterValueInterface {
	/** the value of no exception thrown when the member is called **/
	public static final String NO_EXCEPTION = "";
	/**
	 * gets the value returned by executing the member
	 * @return member execution return value
	 */
	Object getValue();
	/**
	 * gets the exception thrown when the member is called
	 *
	 * @return exception thrown during member call or {@link BeanGetterValueInterface#NO_EXCEPTION}
	 */
	String getExceptionThrown();
	/**
	 * sets the value returned by calling method/constructor
	 * @param value the value returned by calling the member
	 */
	void setValue(Object value);
	/**
	 * sets the exception type binary name when the method is called
	 * @param excepionThrown exception type binary name
	 */
	void setExcepionThrown(String excepionThrown);
}
